package com.app.happybirds;

import com.app.happybirds.R.id;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class HappyBirdsActivity extends Activity {
	
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        ((Button)findViewById(id.buttonLogin_main)).setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				startActivity(new Intent(HappyBirdsActivity.this, Login.class));
			}
		});
        
        ((Button)findViewById(id.buttonNewAccout_main)).setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				startActivity(new Intent(HappyBirdsActivity.this, Registration.class));
			}
		});
        
        
        
    }
}